<%@ page language="java" isThreadSafe="true" pageEncoding="UTF-8" %>
<%@ page contentType="text/html; charset=UTF-8"%>
<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登陆页</title>
</head>
<body>
<form action="/authenticate" id="loginForm" method="post" style="width:400px; margin:200px auto;">
    <input type="text" value="${errMsg}" style="border:none; color:red;"/><br/>
    <input type="text" name="name" required="true" value="admin" autocomplete="off" placeholder="用户名"/><br/>
    <input type="password" name="phone" required="true" value="admin" autocomplete="off"  placeholder="电话"/><br/>
    <button type="submit">登陆</button><button type="reset">重置</button><br/>
</form>
</body>
</html>